#include "qmlSignal.h"

QMLSignal::QMLSignal()
{

}


QMLSignal& QMLSignal::I(){
    static QMLSignal instance;
    return instance;
}


void QMLSignal::emitExperimentEnd(QString equId){
    emit experimentEnd(equId);
}

void QMLSignal::emitExperimentError(QString equId){
    emit experimentError(equId);
}

void QMLSignal::emitTest(int num){
    emit test(num);
}

void QMLSignal::emitExperimentInterruption(QString equId){
    emit experimentInterruption(equId);
}

void QMLSignal::emitStartExperimentStatus(QString status){
    emit startExperimentStatus(status);
}

void QMLSignal::exitProgram(){
    exit(0);
}
